<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        body {
            font-family: Circular,"Helvetica Neue",Helvetica,Arial,sans-serif;
            font-size: 14px;
            line-height: 1.43;
            color: #484848;
            background-color: #fff;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            background-color: #f5f5f5;
        }
        [lang^="zh"] body {
            font-family: "Hiragino Sans GB","华文细黑","STHeiti","微软雅黑","Microsoft YaHei",SimHei,"Helvetica Neue",Helvetica,Arial,sans-serif !important
        }
        a{
            color: #333;
            text-decoration: none;
        }
        li{
            list-style: none;
        }
        h3{
            font-weight: normal;
        }
        #cale-container{
            width: 500px;
            background-color: #fff;
        }
        .cale-title{
            height: 40px;
            line-height: 40px;
        }
        .cale-title-left{
            float: left;
            width: 30px;
            text-align: center;
            font-size: 22px;
            line-height: 40px;
        }
        .cale-title-right{
            float: right;
            width: 30px;
            text-align: center;
            font-size: 22px;
            line-height: 40px;
        }
        .cale-title h3{
            text-align: center;
            margin: 0 30px;
        }
        .cale-week,
        .cale-day{
            overflow: hidden;
        }
        .cale-week li,
        .cale-day li{
            width: 30px;
            height: 30px;
            float: left;
            text-align: center;
            font-size: 14px;
            line-height: 30px;
            margin: 0 20px;
            cursor: pointer;
        }
        .cale-day li.cur-date{
            color: #f40;
            background-color: #fff;
        }
        .cale-day li.active{
            background: #f60;
            color: #fff;
            border-radius: 50%;
        }

        .cale-day li:hover{
            background: #f60;
            color: #fff;
            border-radius: 50%;
        }
        .cale-day .pre,
        .cale-day .next,
        .cale-day .disabled{
            color: #ccc;
        }
    </style>
</head>
<body>
<div id="cale-container">
    <div class="cale-title">
        <a id="J_prev-btn" href="javascript:" class="cale-title-left" title="上个月">&lt;</a>
        <a id="J_next-btn" href="javascript:" class="cale-title-right" title="下个月">&gt;</a>
        <h3><span class="year-title">1900</span> 年 <span class="month-title">1</span> 月</h3>
    </div>
    <div class="cale-week">
        <ul>
            <li>日</li>
            <li>一</li>
            <li>二</li>
            <li>三</li>
            <li>四</li>
            <li>五</li>
            <li>六</li>
        </ul>
    </div>
    <div id="dayWrap" class="cale-day">
        <ul></ul>
    </div>
</div>
<!-- 假装后端传过来的日期 -->
<!-- <input type="hidden" value="2017-06-22" id="date"> -->
<script src="https://cdn.bootcss.com/jquery/1.10.2/jquery.min.js"></script>
<script src="cale.js"></script>
<script>
    var $calendar = $('#cale-container');

    $calendar.calendar({
        nowDate: '' //默认系统时间，除非后端有传日期
    });

</script>
</body>
</html>